home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: 08 January 2002
- //
- // Description:
- // Define the Animation shelf.
- //
- global proc shelf_Animation() {
-
- shelfButton
- -label "Set Key"
- -annotation (getRunTimeCommandAnnotation("SetKey"))
- -image1 "setKeyframe.xpm"
- -command ("SetKey")
- -doubleClickCommand ("SetKeyOptions");
-
- shelfButton
- -label "Attach to Motion Path"
- -annotation (getRunTimeCommandAnnotation("AttachToPath"))
- -image1 "motionPath.xpm"
- -command ("AttachToPath")
- -doubleClickCommand ("AttachToPathOptions");
-
- shelfButton
- -label "Set Motion Path Key"
- -annotation (getRunTimeCommandAnnotation("SetKeyPath"))
- -image1 "motionPathKey.xpm"
- -command ("SetKeyPath");
-
- shelfButton
- -label "Motion Trail"
- -annotation (getRunTimeCommandAnnotation("CreateMotionTrail"))
- -image1 "motionTrail.xpm"
- -command ("CreateMotionTrail")
- -doubleClickCommand ("CreateMotionTrailOptions");
-
- shelfButton
- -label "Ghosting"
- -annotation (getRunTimeCommandAnnotation("GhostObject"))
- -image1 "ghost.xpm"
- -command ("GhostObject");
-
- shelfButton
- -label "No Ghosting"
- -annotation (getRunTimeCommandAnnotation("UnghostObject"))
- -image1 "ghostOff.xpm"
- -command ("UnghostObject");
-
- shelfButton
- -label "Joint Tool"
- -annotation (getRunTimeCommandAnnotation("JointTool"))
- -image1 "kinJoint.xpm"
- -command ("JointTool")
- -doubleClickCommand ("JointToolOptions");
-
- shelfButton
- -label "IK Handle Tool"
- -annotation (getRunTimeCommandAnnotation("IKHandleTool"))
- -image1 "kinHandle.xpm"
- -command ("IKHandleTool")
- -doubleClickCommand ("IKHandleToolOptions");
-
- shelfButton
- -label "Connect Joint"
- -annotation (getRunTimeCommandAnnotation("ConnectJoint"))
- -image1 "kinConnect.xpm"
- -command ("ConnectJoint")
- -doubleClickCommand ("ConnectJointOptions");
-
- shelfButton
- -label "Disconnect Joint"
- -annotation (getRunTimeCommandAnnotation("DisconnectJoint"))
- -image1 "kinDisconnect.xpm"
- -command ("DisconnectJoint");
-
- shelfButton
- -label "Reroot Skeleton"
- -annotation (getRunTimeCommandAnnotation("RerootSkeleton"))
- -image1 "kinReroot.xpm"
- -command ("RerootSkeleton");
-
- shelfButton
- -label "Remove Joint"
- -annotation (getRunTimeCommandAnnotation("RemoveJoint"))
- -image1 "kinRemove.xpm"
- -command ("RemoveJoint");
-
- shelfButton
- -label "Mirror Joint"
- -annotation (getRunTimeCommandAnnotation("MirrorJoint"))
- -image1 "kinMirrorJoint_S.xpm"
- -command ("MirrorJoint")
- -doubleClickCommand ("MirrorJointOptions");
-
- shelfButton
- -label "Orient Joint"
- -annotation (getRunTimeCommandAnnotation("OrientJoint"))
- -image1 "orientJoint.xpm"
- -command ("OrientJoint")
- -doubleClickCommand ("OrientJointOptions");
-
- shelfButton
- -label "IK Spline Handle Tool"
- -annotation (getRunTimeCommandAnnotation("IKSplineHandleTool"))
- -image1 "kinSplineHandle.xpm"
- -command ("IKSplineHandleTool")
- -doubleClickCommand ("IKSplineHandleToolOptions");
-
- shelfButton
- -label "Smooth Bind"
- -annotation (getRunTimeCommandAnnotation("SmoothBindSkin"))
- -image1 "smoothSkin.xpm"
- -command ("SmoothBindSkin")
- -doubleClickCommand ("SmoothBindSkinOptions");
-
- shelfButton
- -label "Mirror Skin Weights"
- -annotation (getRunTimeCommandAnnotation("MirrorSkinWeights"))
- -image1 "mirrorSkinWeight.xpm"
- -command ("MirrorSkinWeights")
- -doubleClickCommand ("MirrorSkinWeightsOptions");
-
- shelfButton
- -label "Copy Skin Weights"
- -annotation (getRunTimeCommandAnnotation("CopySkinWeights"))
- -image1 "copySkinWeight.xpm"
- -command ("CopySkinWeights");
-
- shelfButton
- -label "Export Skin Weight Maps"
- -annotation (getRunTimeCommandAnnotation("ExportSkinWeightMaps"))
- -image1 "exportSmoothSkin.xpm"
- -command ("ExportSkinWeightMaps")
- -doubleClickCommand ("ExportSkinWeightMapsOptions");
-
- shelfButton
- -label "Import Skin Weight Maps"
- -annotation (getRunTimeCommandAnnotation("ImportSkinWeightMaps"))
- -image1 "importSmoothSkin.xpm"
- -command ("ImportSkinWeightMaps");
-
- shelfButton
- -label "Paint Skin Weights Tool"
- -annotation (getRunTimeCommandAnnotation("ArtPaintSkinWeightsTool"))
- -image1 "paintSkinWeights.xpm"
- -command ("ArtPaintSkinWeightsTool")
- -doubleClickCommand ("ArtPaintSkinWeightsToolOptions");
-
- shelfButton
- -label "Locator"
- -annotation (getRunTimeCommandAnnotation("CreateLocator"))
- -image1 "locator.xpm"
- -command ("CreateLocator");
-
- shelfButton
- -label "Point Constraint"
- -annotation (getRunTimeCommandAnnotation("PointConstraint"))
- -image1 "posConstraint.xpm"
- -command ("PointConstraint")
- -doubleClickCommand ("PointConstraintOptions");
-
- shelfButton
- -label "Aim Constraint"
- -annotation (getRunTimeCommandAnnotation("AimConstraint"))
- -image1 "aimConstraint.xpm"
- -command ("AimConstraint")
- -doubleClickCommand ("AimConstraintOptions");
-
- shelfButton
- -label "Orient Constraint"
- -annotation (getRunTimeCommandAnnotation("OrientConstraint"))
- -image1 "orientConstraint.xpm"
- -command ("OrientConstraint")
- -doubleClickCommand ("OrientConstraintOptions");
-
- shelfButton
- -label "Parent Constraint"
- -annotation (getRunTimeCommandAnnotation("ParentConstraint"))
- -image1 "parentConstraint.xpm"
- -command ("ParentConstraint")
- -doubleClickCommand ("ParentConstraintOptions");
- }
-
-